import React, { Component } from 'react';
import { ConfigProvider, Layout } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';

import BasicHeader from '@/components/BasicHeader';
import styles from './BasicLayout.less';

class IframeLayout extends Component {

  render() {
    const { children } = this.props;
    return (
      <ConfigProvider locale={zhCN}>
        <Layout className={styles.basicLayout}>
          <BasicHeader></BasicHeader>
          { children }
        </Layout>
      </ConfigProvider>
    );
  }
}

export default IframeLayout;
